package com.example.uchain.service;

import com.example.uchain.demo.Member;
import com.example.uchain.demo.PageBean;
import com.example.uchain.demo.Result;
import com.example.uchain.demo.dto.MemberCountDTO;

public interface MemberService {

    Result AddMem(Member member);

    Result deleteMemById(Integer id);

    Result updateById(Member member);

    PageBean page(Integer Page, Integer pageSize, String userName, Short sex);

    Member login(Member member);



    Member findAll1(Integer id);

    PageBean pageForMem(Integer page, Integer pageSize, String userName, String id, Integer sign, String phoneNumber, Integer code);

    MemberCountDTO memberCount();
}
